<?php require VIEW_ROOT.'/common/header.php'?>

<div class="info">
	Welcome~
</div>

<table>
	<tr>
		<th colspan="2">服务器信息</th>
	</tr>
	<tr>
		<td width="150">PHP版本</td>
		<td class="frm"><?php echo PHP_VERSION?></td>
	</tr>
	<tr>
		<td>WEB服务器</td>
		<td class="frm"><?php echo $_SERVER['SERVER_SOFTWARE']?></td>
	</tr>
	<tr>
		<td>MySQL版本</td>
		<td class="frm">
		<?php
			echo $v['mysql_version'];
		?>
		</td>
	</tr>
	<tr>
		<td>服务器时间</td>
		<td class="frm"><?php echo date('Y-m-d H:i:s');?></td>
	</tr>
	<tr>
		<td>服务器IP</td>
		<td class="frm"><?php echo $_SERVER['REMOTE_ADDR'];?></td>
	</tr>
	<tr>
		<td>上传文件限制</td>
		<td class="frm"><?php echo ini_get('file_uploads') ? ini_get('upload_max_filesize') : 'Disabled'?></td>
	</tr>
	<tr>
		<td>操作系统</td>
		<td class="frm"><?php echo php_uname()?></td>
	</tr>
</table>

<table>
	<tr>
		<th colspan="2">客户端信息</th>
	</tr>
	<tr>
		<td width="150">浏览器Agent</td>
		<td class="frm"><?php echo $_SERVER['HTTP_USER_AGENT']?></td>
	</tr>
	<tr>
		<td>当前IP</td>
		<td class="frm">
			<?php echo $_SERVER['REMOTE_ADDR'];?>
		</td>
	</tr>
</table>

<?php require VIEW_ROOT.'/common/footer.php'?>